package com.sugar.follow.up.module.business.controller.admin.questionnairequestionrecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.sugar.follow.up.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.sugar.follow.up.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 问卷发起答题记录分页 Request VO")
@Data
public class QuestionnaireQuestionRecordPageReqVO extends PageParam {

    @Schema(description = "问卷记录ID", example = "31122")
    private Long recordId;

    @Schema(description = "用户ID", example = "20533")
    private Long userId;

    @Schema(description = "问卷问题ID", example = "7375")
    private Long questionId;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "题型（0单选 1多选 2填空 3问答 4日期）", example = "1")
    private Boolean type;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}